﻿Imports System.ComponentModel 
Imports System.Collections

Public Class CTSaldoFondosPS
    Implements INotifyPropertyChanged

 Private _Fondo As String
 Private _Saldo As Double
 Private _Cargos As Double

 Public Event PropertyChanged As PropertyChangedEventHandler  Implements INotifyPropertyChanged.PropertyChanged

Private Sub NotificarCambio (propname As string  )
    RaiseEvent PropertyChanged(me, new PropertyChangedEventArgs(propname) )
End Sub


#Region "Porpiedades de la clase"

Public Property Fondo As String
    Get
        Fondo = Me._Fondo
    End Get
    Set(ByVal value As String)
        Me._Fondo = value
    End Set
End Property

Public Property Saldo As Double
    Get
        Saldo = Me._Saldo
    End Get
    Set(ByVal value As Double)
        Me._Saldo = value
    End Set
End Property

Public Property Cargos As Double
    Get
        Cargos = Me._Cargos
    End Get
    Set(ByVal value As Double)
        Me._Cargos = value
        NotificarCambio("Cargos")
    End Set
End Property

#End Region

End Class
